package com.bytz.modules.cms.productLine.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bytz.modules.cms.productLine.entity.ProductLineLevelLimit;
import com.bytz.modules.cms.productLine.model.LevelLimitImportRequest;
import com.bytz.modules.cms.productLine.model.ProductLineLevelLimitModel;

import java.util.Map;

public interface IAdminProductLineLevelLimitService extends IService<ProductLineLevelLimit> {
    /**
     * 分页查询
     */
    IPage<ProductLineLevelLimitModel> page(Page<ProductLineLevelLimit> requestPage, ProductLineLevelLimitModel productLineLevelLimit, Map<String, String[]> parameterMap) throws Exception;

    /**
     * 根据商品id导入
     */
    Boolean importByNumbers(LevelLimitImportRequest request);
}
